<template>
  <div id="app">
    <Topbar
      v-show="
        this.$route.path == '/login' || this.$route.path == '/regist'
          ? false
          : true
      "
    />
    <router-view />
  </div>
</template>

<script>
import Topbar from "./components/Topbar.vue";
export default {
  components: {
    Topbar,
  },
  data() {
    return {
      showTopbar: "",
    };
  },
  methods: {},
  created() {
    console.log(this.$route.path);
  },
};
</script>

<style lang="less">
</style>
